package cn.lizemin.share.version0.entity;

/**
 * @author lzm
 * @version 1.0
 * @description: TODO
 * @date 2022/5/18 10:19
 */
public class Grass implements Drawable{

    private String image ;//河流材质

    public Grass() {
        this.image = "草地";
        System.out.println("从磁盘加载【" + image + "】图片，耗时半秒。。。");
    }

    @Override
    public void draw(int x, int y) {
        System.out.println("在位置【" + x + ":" + y + "】上绘制图片：【" + image + "】");
    }
}
